package com.ruoyi.kanban.domain;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 供货框架物料明细对象 supply_framework_item
 * 
 * @author ruoyi
 * @date 2025-01-15
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("supply_framework_item")
public class SupplyFrameworkItem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 框架协议ID */
    @Excel(name = "框架协议ID")
    @TableField("framework_id")
    private Long frameworkId;

    /** 框架协议编号 */
    @Excel(name = "框架协议编号")
    @TableField("framework_code")
    private String frameworkCode;

    /** 物料编码 */
    @Excel(name = "物料编码")
    @TableField("material_code")
    private String materialCode;

    /** 物料名称 */
    @Excel(name = "物料名称")
    @TableField("material_name")
    private String materialName;

    /** 物料单位 */
    @Excel(name = "物料单位")
    @TableField("material_unit")
    private String materialUnit;

    /** 单价 */
    @Excel(name = "单价")
    @TableField("unit_price")
    private BigDecimal unitPrice;

    /** 税率 */
    @Excel(name = "税率")
    @TableField("tax_rate")
    private BigDecimal taxRate;

    /** 包装类型 */
    @Excel(name = "包装类型")
    @TableField("package_type")
    private String packageType;

    /** 包装容量 */
    @Excel(name = "包装容量")
    @TableField("package_capacity")
    private BigDecimal packageCapacity;

    /** 最小订货量 */
    @Excel(name = "最小订货量")
    @TableField("min_order_qty")
    private BigDecimal minOrderQty;

    /** 删除标志（0代表存在 2代表删除） */
    @TableField("del_flag")
    private Integer delFlag;
}